package org.fessingapore.library.models;

import java.io.Serializable;
import java.util.Date;

import org.fessingapore.library.constants.LoanStatus;

public class Loan implements Serializable{

	private int id;
	private Item item;
	private Member member;
	private Date dateBorrowed;
	private Date dateToReturn;
	private Date dateReturned;
	private String remarks;
	private LoanStatus status;
	
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Item getItem() {
		return item;
	}
	public void setItem(Item item) {
		this.item = item;
	}
	public Member getMember() {
		return member;
	}
	public void setMember(Member member) {
		this.member = member;
	}
	public Date getDateBorrowed() {
		return dateBorrowed;
	}
	public void setDateBorrowed(Date dateBorrowed) {
		this.dateBorrowed = dateBorrowed;
	}
	public Date getDateReturned() {
		return dateReturned;
	}
	public void setDateReturned(Date dateReturned) {
		this.dateReturned = dateReturned;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public LoanStatus getStatus() {
		return status;
	}
	public void setStatus(LoanStatus status) {
		this.status = status;
	}
	public Date getDateToReturn() {
		return dateToReturn;
	}
	public void setDateToReturn(Date dateToReturn) {
		this.dateToReturn = dateToReturn;
	}
	
	
}
